import request from '@/utils/request'

// 查询公路运输底账列表
export function listGLedgerHead(query) {
  return request({
    url: '/system/gLedgerHead/list',
    method: 'get',
    params: query
  })
}

//提货查询底账
export function listTakeGLedgerHead(query) {
  return request({
    url: '/system/gLedgerHead/takeList',
    method: 'get',
    params: query
  })
}


// 查询公路运输底账详细
export function getGLedgerHead(ledgerid) {
  return request({
    url: '/system/gLedgerHead/' + ledgerid,
    method: 'get'
  })
}


